<template>
  <div class="privacy">
    <div class="title">
      <svg
        @click="$router.back()"
        t="1671798247143"
        class="icon"
        viewBox="0 0 1024 1024"
        version="1.1"
        xmlns="http://www.w3.org/2000/svg"
        p-id="2281"
        width="200"
        height="200"
      >
        <path
          d="M319.64 512.016l336.016-336.008 45.248 45.248L364.896 557.28z"
          p-id="2282"
        ></path>
        <path
          d="M365.216 466.464l339.976 339.968-45.256 45.256-339.976-339.976z"
          p-id="2283"
        ></path>
      </svg>
      <span>隐私政策</span>
      <span></span>
    </div>
    <div v-html="privacy"></div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      privacy: null,
    };
  },
  async created() {
    let res = await this.axios.get(
      `https://m-mall.gxptkc.com/v3/system/front/agreement/detail?agreementCode=register_agreement`
    );
    this.privacy = res.data.data.content;
  },
};
</script>

<style lang="scss" scoped>
.privacy {
  padding: 10rem;
  .title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20rem;
    svg {
      width: 25rem;
      height: 25rem;
    }
    span {
      font-size: 16rem;
      color: #000;
    }
  }
}
</style>